package com.slz3.business.module.messageManagement.mesOrder.service;

import com.slz3.business.module.messageManagement.mesOrder.domain.MesOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface MesOrderService {

    MesOrder save(MesOrder mesOrder);

    Page<MesOrder> page(MultiValueMap<String,String> queryParams);

    MesOrder modify(MesOrder mesOrder);

    Optional<MesOrder> single(UUID uuid);

    List<MesOrder> findAllByUuids(Iterable<UUID> uuids);

    List<MesOrder> delete(List<MesOrder> mesOrderList);

}
